﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SheepCommon.API.SheepCommands
{
    public class SheepArchivesCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? RecordCorpuscle { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string? RecordMother { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public string? RecordFather { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? RecordBreed { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public string? RecordBorn { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime RecordDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string? RecordSite { get; set; }
        /// <summary>
        /// 出生重（公斤）
        /// </summary>
        public decimal? RecordWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? RecordRemark { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime? AdmissionDate { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Sex { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public string? Gene { get; set; }
        /// <summary>
        /// 羊只类型 0种母 1种公 2后裔
        /// </summary>
        public int? RecordType { get; set; }
        /// <summary>
        /// 羊场外键
        /// </summary>
        public int FarmId { get; set; }
        /// <summary>
        /// 栏位外键
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 栋舍外键
        /// </summary>
        public int CottageId { get; set; }
        /// <summary>
        /// 羊只照片
        /// </summary>
        public string? SheepImage { get; set; }
    }
}
